home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!lorelei.demon.co.uk
- From: John Croudy <john@lorelei.demon.co.uk>
- Newsgroups: comp.lang.c++
- Subject: Re: 2D pointer array to class overwritten
- Date: Sun, 7 Apr 96 19:28:01 GMT
- Organization: home
- Message-ID: <9604071928.AA001og@lorelei.demon.co.uk>
- References: <4k89ap$7fl@ctylnk.cityu.edu.hk>
- X-NNTP-Posting-Host: lorelei.demon.co.uk
- X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
- X-Mail2News-Path: relay-4.mail.demon.net!post.demon.co.uk!lorelei.demon.co.uk
-
- On 7 Apr 1996 11:35:53 GMT, 92907308@cpccux0.cityu.edu.hk wrote:
-
- > cout << " "<< ptr[i,j];
-
- I'm sure I'm not the only one who spotted the [i,j] instead of [i][j].
-
- But why doesn't the compiler at least warn about this? I tried and
- couldn't get a warning out of GNU.
-
- John
- xxxx
-